package com.member.shop.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.member.shop.domain.SysBizRankList;
import com.member.shop.vo.RankInfoVo;

/**
 * 排行榜单Service接口
 *
 * @author lixinchen
 * @date 2025-01-11
 */
public interface ISysBizRankListService extends IService<SysBizRankList> {
    /**
     * 查询排行榜单
     *
     * @param id 排行榜单主键
     * @return 排行榜单
     */
    public SysBizRankList selectSysBizRankListById(Long id);

    /**
     * 查询排行榜单列表
     *
     * @param queryWrapper 排行榜单
     * @return 排行榜单集合
     */
    public List<SysBizRankList> selectSysBizRankListList(LambdaQueryWrapper<SysBizRankList> queryWrapper);


    /**
     * 查询排行榜单列表
     *
     * @param sysBizRankList 排行榜单
     * @return 排行榜单集合
     */
    public List<SysBizRankList> selectSysBizRankListList(SysBizRankList sysBizRankList);

    /**
     * 新增排行榜单
     *
     * @param sysBizRankList 排行榜单
     * @return 结果
     */
    public int insertSysBizRankList(SysBizRankList sysBizRankList);

    /**
     * 修改排行榜单
     *
     * @param sysBizRankList 排行榜单
     * @return 结果
     */
    public int updateSysBizRankList(SysBizRankList sysBizRankList);

    /**
     * 批量删除排行榜单
     *
     * @param ids 需要删除的排行榜单主键集合
     * @return 结果
     */
    public int deleteSysBizRankListByIds(Long[] ids);

    /**
     * 删除排行榜单信息
     *
     * @param id 排行榜单主键
     * @return 结果
     */
    public int deleteSysBizRankListById(Long id);

    RankInfoVo selectSysBizRankListByGoodsId(Long goodsId);
}